package ar.edu.caece.compiler.grammar.nonterminals;

import ar.edu.caece.compiler.grammar.terminals.AsignacionToken;
import ar.edu.caece.compiler.grammar.terminals.FinArrayToken;
import ar.edu.caece.compiler.grammar.terminals.InicioArrayToken;

public class POSIBILIDADES1 extends NonTerminalLogger implements POSIBILIDADES {

	private InicioArrayToken inicioArrayToken;
	private EXPR expruno;
	private FinArrayToken finArrayToken;
	private AsignacionToken asignacionToken;
	private POSEXPRLLAM posexprllam;
	
	public POSIBILIDADES1(InicioArrayToken inicioArrayToken, EXPR expruno,
			FinArrayToken finArrayToken, AsignacionToken asignacionToken,
			POSEXPRLLAM posexprllam) {
		super();
		this.inicioArrayToken = inicioArrayToken;
		this.expruno = expruno;
		this.finArrayToken = finArrayToken;
		this.asignacionToken = asignacionToken;
		this.posexprllam = posexprllam;
	}

	@Override
	public String getRepresentation() {
		// TODO Auto-generated method stub
				return "{"+this.getClass().getSimpleName()+" -> "+inicioArrayToken.getRepresentation()+" "+expruno.getRepresentation()+" "+finArrayToken.getRepresentation()+" "+asignacionToken.getRepresentation()+" "+posexprllam.getRepresentation()+"}";
	}

	public InicioArrayToken getInicioArrayToken() {
		return inicioArrayToken;
	}

	public EXPR getExpruno() {
		return expruno;
	}

	public FinArrayToken getFinArrayToken() {
		return finArrayToken;
	}

	public AsignacionToken getAsignacionToken() {
		return asignacionToken;
	}

	public POSEXPRLLAM getPosexprllam() {
		return posexprllam;
	}

}
